package com.nsl.my_youlai.model.bo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nsl.my_youlai.common.enums.DocxTemplateStatusEnum;
import lombok.Data;

import java.util.Date;

/**
 * docxTemplateBo 业务对象，各种vo都可以从此转换
 */

@Data
public class DocxTemplateBo {
    private String uuid;

    //模板编号
    private String templateSn;

    private Integer majorCategoryFirstLevelId;

    private String majorCategoryFirstLevelLabel;

    private String majorCategorySecondLevelLabel;

    private Integer majorCategorySecondLevelId;

    private String authorName;

    private String templateDocxName;


    private String templateExcelName;

    private String version;

    private String description;

    //文件系统的路径,保存在数据库中
    private String templateDocxFilePath;

    //文件系统的路径
    private String templateExcelFilePath;

    private String templateDocxMd5;

    private String templateExcelMd5;

    private String regionLevel1;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;

    private DocxTemplateStatusEnum statusEnum;

}
